<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'main.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="CSS/bootstrap.min.css">
<script src="JS/check.js"></script>	

  </head>
  
  <body >
<h1 align="center">欢迎使用个人信息管理平台</h1>
<table  width="1100"  align="center">
 <tr><td><jsp:include page="../tail.jsp" /></td></tr>
  <tr>
    <td height="10"><jsp:include page="../top.jsp" /></td>
  </tr>
  <tr>
    <td colspan="5" align="center">
<table width="100%"  height="100%" border="0"  class="input">
  <tr>
    <td align="center" height="10"> <jsp:include page="head.jsp" /></td>
  </tr>
  
  <tr>
    <td  colspan="3" align="center" valign="top">
<s:form id="files" action="files/files_upLoad" method="post" enctype="multipart/form-data">
    <table  cellspacing="0" cellpadding="0" class="table table-striped table-bordered table-hover" width="40%" align="center">
         <tr>
             <td><s:textfield id="title" name="file.title" label="文件标题" size="20" cssClass="input" style="height:30px"/></td>
         </tr>
         <tr>
             <td height="4"><s:file id="upLoad" name="upLoad" label="选择文件" size="25" cssClass="textarea"/></td>
         </tr>
         <tr>
             <td colspan="2" align="center" height="36">
                 <input class="btn" type="submit" value="上 传" size="12" Class="input" onclick="return check_files(files);"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 <input class="btn" type="reset" value="清 空" size="12" Class="input"/>
             </td>
         </tr>
    </table>
</s:form>
    </td>
  </tr>
</table>
  </td>
  </tr>

</table>

  </body>
</html>


